package com.tramy.cn.push.common;

public class HUAWEIInfo extends AuthInfo {

    private final String appId;

    private final String appSecret;

    private final String mainClassName;

    private final Integer poolSize;

    private final ErrorListener errorListener;

    public HUAWEIInfo(String appId,
                      String appSecret,
                      String mainClassName,
                      Integer poolSize,
                      ErrorListener errorListener) {
        platform = Platform.HUAWEI;

        this.appId = appId;
        this.appSecret = appSecret;

        this.mainClassName = mainClassName;

        this.poolSize = poolSize;

        this.errorListener = errorListener;
    }

    public String getAppId() {
        return appId;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public String getMainClassName() {
        return mainClassName;
    }

    public Integer getPoolSize() {
        return poolSize;
    }

    public ErrorListener getErrorListener() {
        return errorListener;
    }

}
